package cn.funeralobjects.ams.web.model;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotEmpty;

/**
 * Modify of ProductRes
 *
 * @author FuneralObjects
 * Create date: 2020/5/25 7:23 PM
 */
@Data
@Accessors(chain = true)
public class MProductRes {
    /**
     * 编码
     */
    @NotEmpty
    private String code;
    /**
     * 名称
     */
    @NotEmpty
    private String name;
    /**
     * 所属产品id
     */
    @Min(1)
    private Integer productId;
    /**
     * 所在区域id
     */
    private Integer regionId;
}
